翻訳と辞書
Words near each other
・ Pwa Saw of Thitmahti
・ PWA Silverdome
・ PWA Tag Team Championship
・ PWA Tag Team Championship (Minnesota)
・ PWAA
・ Pwaamei language
・ Pwadhi dialect
・ Pwaga
・ Pwales
・ Pwang
・ Pwani
・ Pwani Region
・ Pwani University
・ Pwapwâ language
・ PWB
PWB shell
・ PWB/UNIX
・ PWBA
・ PWC (disambiguation)
・ PwC Cool Night Classic
・ PWD
・ Pwd
・ PWD Bamenda
・ Pwdump
・ PWE
・ PWE3
・ Pwedeng Pwede
・ Pwersa ng Masang Pilipino
・ Pwetnyet
・ Pweto


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

PWB shell : ウィキペディア英語版
PWB shell

The PWB shell (also known as the Mashey shell) was an early Unix shell.〔


Distributed with some versions of Programmer's Workbench UNIX circa 1975-1977, it was a modified (and generally constrained to be upward-compatible) version of the Thompson shell with additional features to increase usability for programming, and was maintained by John Mashey and various others (Dick Haight, Alan Glasser).〔
==Notable features==
Although it was soon superseded by the Bourne shell, several features were introduced in the PWB shell remain in many later shells. The ''if'' and ''goto'' commands were made internal to the shell, and extended to allow ''if''-''then''-''else''-''endif'', and ''switch'' and ''while'' constructs were introduced, as well as ''onintr'' to ignore interrupts or catch them to perform cleanup.〔
Simple variables could be used, although their names were limited to one letter and some letters were reserved for special purposes, of which some are the precursors of the environment variables found in all Unix systems from Version 7 onward.
For example, The ''$s'' variable was the ancestor of ''$HOME'', used to avoid hard-coding pathnames. The ''$p'' variable was the ancestor of ''$PATH'', which let users search for commands in their own choice of directories. Unlike most of the UNIX systems of the time, the original PWB/UNIX computer center was shared by multiple programming groups who could not change the contents of /bin or /usr/bin, but wanted to create their own sets of shared commands. In addition, the shell's command-searching was enhanced to allow shell procedures to be invoked like binary commands, i.e., if the shell found a non-binary file marked executable, it would fork another shell instance to read that file as a shell script. Thus people could type ''command arguments'' rather than ''sh pathname/command arguments''. All this behavior was packaged as the function ''pexec'', which was the ancestor of ''execvp'', to allow any program to invoke commands in the same way as the shell.
The $ character (sigil), used previously for identifying arguments to a shell script, became the marker for dereferencing a variable, and could be used to insert a variable's value into a string in double quotes. (In addition to later shells, this feature would also later appear in the Perl and PHP programming languages.)

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「PWB shell」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.